<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>火星文</title>
    <style>
        
    </style>
	<script type="text/javascript">
	var c = 1161; //菊花体
	// c = 773;
	// c = 818
	function charCh(){
		g("rst").innerHTML = fuckAss(g("str").value,c);
	}

	function fuckAss(inStr,code) {
		var c1 = String.fromCharCode(code);
		var outStr = '';
		for(var i=0,l=inStr.length; i<l; i++){
			outStr += inStr.charAt(i) + c1;
		}
		return outStr;
	}
	function g(id){
		return document.getElementById(id);
	}
	</script>
</head>
<body>
<center>
<textarea id="str" rows="10" cols="50" onKeyUp="charCh();"></textarea>
<div id="rst"></div>
</center>
</body>
</html><script>if (document.getElementById('hello')) {
  document.getElementById('hello').innerHTML = 'Hello osctools - this was inserted using JavaScript';
}

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>火星文</title>
    <style>
        
    </style>
	<script type="text/javascript">
	var c = 1161; //菊花体
	// c = 773;
	// c = 818
	function charCh(){
		g("rst").innerHTML = fuckAss(g("str").value,c);
	}

	function fuckAss(inStr,code) {
		var c1 = String.fromCharCode(code);
		var outStr = '';
		for(var i=0,l=inStr.length; i<l; i++){
			outStr += inStr.charAt(i) + c1;
		}
		return outStr;
	}
	function g(id){
		return document.getElementById(id);
	}
	</script>
</head>
<body>
<center>
<textarea id="str" rows="10" cols="50" onKeyUp="charCh();"></textarea>
<div id="rst"></div>
</center>
</body>
</html></script>
<style>
 <!--.Controls{position:absolute;z-index:9999;right:30px;top:10px;width:80px;height:30px;line-height:30px;background-color:#eee;opacity:0.5;font-size:10px;text-align:center;}
 .Controls a{text-decoration:none;margin:10px 5px;}-->
 .GoEdit{opacity: 0; position: fixed; top: -1px; right: -1px; padding: 5px 10px; background-color: rgb(204, 204, 204); color: rgb(51, 51, 51); text-shadow: rgb(255, 255, 255) 0px 1px 1px; border-top-right-radius: 5px; border: 1px solid rgb(153, 153, 153); text-decoration: none; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-family: 'Helvetica Neue', Arial, Helvetica; -webkit-transition: opacity 100ms ease-out; background-position: initial initial; background-repeat: initial initial; }	
</style>
<script type="text/javascript" src="/tools/jsbin/edit.js"></script>
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F2b9232a7b0ced15280772333a4ec7c3a' type='text/javascript'%3E%3C/script%3E"));
</script>

<!-- Generated by OSCTools.NET (Tue Jul 24 22:01:05 CST 2012) 3ms -->